//
//  YYLHomeModel.swift
//  XinlangWeibo
//
//  Created by yangyinglei on 2017/3/31.
//  Copyright © 2017年 yangyinglei. All rights reserved.
//

import UIKit

class YYLHomeModel: NSObject {
    /// 微博创建时间
    var created_at: Date?
    /// 微博ID
    var id: Int64 = 0
    /// 微博内容
    var text: String?
    //  微博来源
    var source: String?
    //  转发
    var reposts_count: Int = 0
    //  评论
    var comments_count: Int = 0
    //  赞
    var attitudes_count: Int = 0
    
    /// 用户信息
    var user: YYLFollowUserModel?
    /// 转发微博
    var retweeted_status: YYLHomeModel?
    
    /// 微博配图
    var pic_urls: [YYLHomePictureInfo]?
    /// 设置yymodel的容器视图
    class func modelContainerPropertyGenericClass() -> [String: Any] {
        return [
        "pic_urls": YYLHomePictureInfo.self
        ]
    
    }
}
